using System;
using System.Collections.Generic;
using System.Text;

namespace GymManager.Persistence.VO
{
    /// <summary>
    /// Class representing the stock item sales value object
    /// </summary>
    public class StockItemSales
    {
        #region Attributes
        private Int32 _id;
        private Int32 _quantity;
        private Double _unitPrice;
        private Int32 _salesmanUserId;
        private Int32 _studentId;
        private Int32 _stockItemId;
        private DateTime _salesDate;
        private Nullable<DateTime> _paymentDate;
        private Boolean _isPaid;
        #endregion

        #region Properties
        public Int32 Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public Int32 Quantity
        {
            get { return _quantity; }
            set { _quantity = value; }
        }

        public Int32 SalesmanUserId
        {
            get { return _salesmanUserId; }
            set { _salesmanUserId = value; }
        }

        public Double UnitPrice
        {
            get { return _unitPrice; }
            set { _unitPrice = value; }
        }

        public Int32 StudentId
        {
            get { return _studentId; }
            set { _studentId = value; }
        }

        public Int32 StockItemId
        {
            get { return _stockItemId; }
            set { _stockItemId = value; }
        }

        public DateTime SalesDate
        {
            get { return _salesDate; }
            set { _salesDate = value; }
        }

        public Nullable<DateTime> PaymentDate
        {
            get { return _paymentDate; }
            set { _paymentDate = value; }
        }

        public Boolean IsPaid
        {
            get { return _isPaid; }
            set { _isPaid = value; }
        }
        #endregion
    }
}
